package com.ruoyi.huoyun.bargain.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付协议对象 payment_agreement_info
 *
 * @author mj
 * @date 2021-11-29
 */
public class PaymentAgreementInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 支付协议id */
    private Integer paymentAgreementId;

    /** 协议签订日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "协议签订日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateOfSigning;

    /** 协议上传日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "协议上传日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadDate;

    /** 协议图片 */
    @Excel(name = "协议图片")
    private String imagePath;

    /** 协议类型 */
    @Excel(name = "协议类型")
    private String type;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String comment;

    public void setPaymentAgreementId(Integer paymentAgreementId)
    {
        this.paymentAgreementId = paymentAgreementId;
    }

    public Integer getPaymentAgreementId()
    {
        return paymentAgreementId;
    }
    public void setDateOfSigning(Date dateOfSigning)
    {
        this.dateOfSigning = dateOfSigning;
    }

    public Date getDateOfSigning()
    {
        return dateOfSigning;
    }
    public void setUploadDate(Date uploadDate)
    {
        this.uploadDate = uploadDate;
    }

    public Date getUploadDate()
    {
        return uploadDate;
    }
    public void setImagePath(String imagePath)
    {
        this.imagePath = imagePath;
    }

    public String getImagePath()
    {
        return imagePath;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setComment(String comment)
    {
        this.comment = comment;
    }

    public String getComment()
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paymentAgreementId", getPaymentAgreementId())
            .append("dateOfSigning", getDateOfSigning())
            .append("uploadDate", getUploadDate())
            .append("imagePath", getImagePath())
            .append("type", getType())
            .append("comment", getComment())
            .toString();
    }
}
